<?php
    class Main_Cache
    {
        static function loadCache()
        {
            $frontendOptions = array(
                'lifetime' => null,
                'automatic_serialization' => true,
            );
            $backendOptions = array(
                'cache_dir' => CACHE_DIR,
            );
            $dbcache = Zend_Cache::factory('Core', 'File', $frontendOptions, $backendOptions);
            return $dbcache;
        }
    }
